package com.solarStruggle.domain

/**
 * A wormhole connects two solar systems.  It is always a bi-directional connection.
 */
@serializable
class Wormhole(_solarSystem1Index: Int, _solarSystem2Index: Int) {
  
  /**
   * The index of the first solar system in the pair.  Interchangeable with the second
   */
  val solarSystem1Index = _solarSystem1Index
  
  /**
   * The index of the second solar system in the pair.  Interchangeable with the first.
   */
  val solarSystem2Index = _solarSystem2Index
  
  /**
   * Whether the wormhole has been opened.
   */
  var opened: Boolean = false;
}
